<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>505 系统错误啦</title>
<script src="<s:url value='/resources/js/jquery/jquery-1.5.2.min.js'/>" type="text/javascript"></script>
<script type="text/javascript">
 	$(function(){
 		var message = '<s:property value='#request.errorMessage.messageObj' escape='false'/>';
 		message = message.replace(new RegExp('\n','gm'),'\\n');
		message = message.replace(new RegExp('\r','gm'),'\\r');
		message = eval('(' + message + ')');
 		if(message.exSuggestion == 'null')
 			message.exSuggestion="空指针异常，参数设置有误！";
 		$("#errorExSuggestion").text("2、"+message.exSuggestion);
 	});
</script>
<style type="text/css">
.error{
    color: #333333;
    min-height: 300px;
    width: 1000px;
    margin:0 auto;
    background: #fff;
}
.error p{
	padding: 5px 20px;
}
</style>
</head>
<body>
<div class="error">
	 <p style="text-align: center; font-size: 18px; padding-top: 20px;">啊，系统出错啦！</p>
     <p>出错原因：</p>
     <div style="text-indent: 2em;">
     	<p>1、可能参数传递有误，请勿手动设置参数！</p>
     	<p id="errorExSuggestion"></p>
     </div>
     <p style="text-align: center;"><a href="javascript:history.go(-1);">返回</a>&nbsp;&nbsp;&nbsp;<a href="<s:url value='/'/>">去首页</a></p>
</div>
</body>
</html>